home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 112 (1989-11-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 112 (1989-11-15)(Ossowski, Stefan)(DE)(PD).adf / C64Emul / src / commands.h < prev    next >
C/C++ Source or Header  |  1989-07-02  |  502b  |  19 lines

  1. /*
  2.  *        Commodore 64 Spoof Emulator (C) Eddy Carroll, 1st April 1988
  3.  *
  4.  * Module: COMMANDS.H
  5.  *
  6.  * This module defines the structure used to contain commands and 
  7.  * the responses to those commands.
  8.  *
  9.  */
  10.  
  11. #define MAXRESPONSE 3
  12.  
  13. struct commandlist {
  14.     char *asc;            /* Pointer to command name (in uppercase)        */
  15.     int len;            /* Length of command name (speeds up matching)    */
  16.     int num;            /* Number of message to be printed next            */
  17.     char *response[MAXRESPONSE];    /* The message to print in response    */
  18. };
  19.